<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        class Http {
            static request() {
                console.log("request")
            }
        }
        class HomeHttp extends Http {
            static getListHttp() {
                // super.request();
                this.request();
            }
            say() {
                // this.getListHttp() ❌❌❌
                HomeHttp.getListHttp();
            }
        }
        /*
        1、在子类的静态方法中super指父类
        2、子类会继承父类的静态方法
        3、子类中不能直接调用静态方法,必须通过类名调用
         */
        HomeHttp.getListHttp();
    </script>
</body>

</html>